!!!5
html(lang='zh-CN')
    head
        meta(http-equiv='X-UA-Compatible' content='IE=edge,chrome=1')
        meta(http-equiv='Content-Type' content='text/html; charset=UTF-8')
        meta(name='description' content='#{settings.site.meta.description}')
        meta(name='keywords' content='#{settings.site.meta.keywords}')
        meta(name='author' content='#{settings.site.meta.author}')
        meta(name='viewport' content='width=device-width, initial-scale=1, maximum-scale=1')
        title #{settings.site.title} - #{soft ? soft.title : "专注软件分享"}
        link(rel='stylesheet' href='/assets/bootstrap-3.2.0/css/bootstrap.min.css')
        link(rel='stylesheet' href='/assets/bootstrap-3.2.0/css/bootstrap-theme.min.css')
        link(rel='stylesheet' href='/assets/vendor/normalize.css')
        link(rel='stylesheet' href='/assets/vendor/prettify-#{settings.site.codetheme}.css')
        link(rel='stylesheet' href='/assets/themes/#{settings.site.theme}/main.css')
        // link(rel='shortcut icon' href='/fav.ico')
        script(src='/assets/vendor/prettify.js')
        // include header_plugin.jade
        block style
        
    body 
        // onload='prettyPrint()'
        #header
            #header-inner
                #title
                    a(href='/') tykSoft
                #subtitle
                    专注软件分享
                //- if (typeof(current_user) !== 'undefined')
                                        
        block main

        #footer
            #footer-inner
                p#copyright Copyright (c) #{settings.site.copyright.beginYear}-#{settings.site.copyright.endYear} #{settings.site.copyright.owner}
                //- p#icp 
                //-     a(href='http://www.miibeian.gov.cn/' target='_blank') tykSoft
        // include footer_plugin.jade
    
    script(src='http://cdn.bootcss.com/jquery/2.1.1/jquery.min.js')
    block script